﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Daemon.Model
{
    [Table("role_application")]
    public partial class RoleApplication
    {
        public int ID { get; set; }
        public int RoleId { get; set; }
        public int ApplicationId { get; set; }

        [ForeignKey("RoleId")]
        public virtual AdminRole Role { get; set; }

        [ForeignKey("ApplicationId")]
        public virtual Application Application { get; set; }
    }
}
